#!/usr/bin/env python
# Create: 2018/11/5
__author__ = '749B'

from utils.base64p import b64decode_str

import os

# 基于本配置文件，生成password的完整路径
dir_name = os.path.dirname(__file__)
fine_name = "password"
pass_file = os.path.join(dir_name, fine_name)
# 获取密码
with open(pass_file) as f:
    auth = f.read()
    auth = auth.split('\n')

npm_server = 'network.shuxun.net'
username = auth[0]
password = b64decode_str(auth[1])
